package com.ly.heart.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingFinancePayBillEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 金蝶-财务-应付票据Mapper接口
 *
 * @author wutao
 * @date 2024-06-19
 */
@Mapper
public interface KingFinancePayBillMapper extends BaseMapper<KingFinancePayBillEntity> {

    /**
     * 查询金蝶-财务-应付票据列表
     *
     * @param kingFinancePayBillEntity 金蝶-财务-应付票据
     * @return 金蝶-财务-应付票据集合
     */
    List<KingFinancePayBillEntity> selectKingFinancePayBillEntityList ( KingFinancePayBillEntity kingFinancePayBillEntity );

    Integer queryCount ( KingFinancePayBillEntity kingFinancePayBillEntity );

    /**
     * 查询金蝶-财务-应付票据
     *
     * @param id 金蝶-财务-应付票据ID
     * @return 金蝶-财务-应付票据
     */
    KingFinancePayBillEntity selectKingFinancePayBillEntityById ( String id );


    /**
     * 新增金蝶-财务-应付票据
     *
     * @param kingFinancePayBillEntity 金蝶-财务-应付票据
     * @return 结果
     */
    int insertKingFinancePayBillEntity ( KingFinancePayBillEntity kingFinancePayBillEntity );

    /**
     * 修改金蝶-财务-应付票据
     *
     * @param kingFinancePayBillEntity 金蝶-财务-应付票据
     * @return 结果
     */
    int updateKingFinancePayBillEntity ( KingFinancePayBillEntity kingFinancePayBillEntity );

    /**
     * 删除金蝶-财务-应付票据
     *
     * @param id 金蝶-财务-应付票据ID
     * @return 结果
     */
    int deleteKingFinancePayBillEntityById ( String id );

    /**
     * 批量删除金蝶-财务-应付票据
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteKingFinancePayBillEntityByIds ( String[] ids );

}
